/*
 * Color4f.h
 *
 *  Created on: 2012/07/05
 *      Author: weihe
 */

#ifndef COLOR4F_H_
#define COLOR4F_H_

namespace geom {

class Color4f {
public:
	float red, green, blue, alpha;
	Color4f(float r = 0, float g = 0, float b = 0, float a = 1) :
			red(r), green(g), blue(b), alpha(a) {
	}

	float* getArray() {
		return &red;
	}

	const float* getArray() const {
		return &red;
	}

	static const Color4f BLACK, WHITE;
};

} /* namespace geom */
#endif /* COLOR4F_H_ */
